package com.itya.weatherback.domain.getWeatherAli.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;

import com.itya.weatherback.utils.LifeIndexDetailToStringDeserializer;
import lombok.Data;


@Data
@TableName("life_index")
public class LifeIndex {

    private int id;
    @JSONField(name = "感冒指数", deserializeUsing = LifeIndexDetailToStringDeserializer.class)
    @JsonProperty("感冒指数")
    private String coldRiskIndex;

    @JSONField(name = "紫外线指数", deserializeUsing = LifeIndexDetailToStringDeserializer.class)
    @JsonProperty("紫外线指数")
    private String uvIndex;

    @JSONField(name = "运动指数", deserializeUsing = LifeIndexDetailToStringDeserializer.class)
    @JsonProperty("运动指数")
    private String sportIndex;

    @JSONField(name = "洗车指数", deserializeUsing = LifeIndexDetailToStringDeserializer.class)
    @JsonProperty("洗车指数")
    private String carWashIndex;

    @JSONField(name = "穿衣指数", deserializeUsing = LifeIndexDetailToStringDeserializer.class)
    @JsonProperty("穿衣指数")
    private String dressIndex;

    @JSONField(name = "过敏指数", deserializeUsing = LifeIndexDetailToStringDeserializer.class)
    @JsonProperty("过敏指数")
    private String makeupIndex;


    private int cityWeatherId;

}
